home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 May
/
EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso
/
earcd
/
util
/
dir
/
managers.lha
/
Managers
/
Cli_Master
/
hunt.g
< prev
next >
Wrap
Text File
|
1997-01-14
|
1KB
|
73 lines
G4C
winbig -1 -1 400 137 "CLI-Master"
winsmall 240 0 200 -1
wintype 11110001
winout nil:
xonopen
setvar .res ""
setvar cmst_file ""
update hunt.g 3 "Enter Filename"
update hunt.g 2 $cmst_file
setgad hunt.g 2 on
xonclose
lvdir climaster $cmst_srce none
delvar cmst_file
delete env:.res
lvclear hunt.g 1
guiclose hunt.g
xonfail
ezreq "Error during processing." Okay ""
lvdir climaster $cmst_srce none
guiclose hunt.g
box 0 0 0 0 in icondrop
xlistview 10 31 380 100 "" cmst_file "" 0 txt
gadid 1
extract cmst_file path cmst_pname
extract cmst_file file cmst_fname
lvdir climaster $cmst_srce #$cmst_pname
lvfind climaster $cmst_srce $cmst_fname
if $cmst_srce = 1
update climaster 3 '$cmst_pname'
else
update climaster 4 '$cmst_pname'
endif
guiclose hunt.g
xbutton 270 17 60 13 "«««"
lvmove hunt.g 1 -20
xbutton 330 17 60 13 "»»»"
lvmove hunt.g 1 20
xtextin 10 17 260 13 "" cmst_file "" 30
gadid 2
guiwindow hunt.g wait
lvmulti climaster $cmst_srce first
if $cmst_select = ""
ezreq "No Dir(s) Selected" Okay ""
guiclose hunt.g
endif
while $cmst_select > ""
setstack 6000
cli 'list >>env:.res sub $cmst_file $cmst_select all lformat "%s%s"'
setstack 4000
lvmulti climaster $cmst_srce off
lvmulti climaster $cmst_srce next
endwhile
lvchange hunt.g 1 env:.res
guiwindow hunt.g resume
update hunt.g 3 "File Hunt Finished."
text 80 5 250 12 "Enter Filename" 30 nobox
gadid 3